<template>
  <div class="navbar">
    <div class="left"><slot name="left"></slot></div>
    <div class="center"><slot name="center"></slot></div>
    <div class="right"><slot name="right"></slot></div>
  </div>
</template>

<script>
export default {
  name: "NavBar"
}
</script>

<style scoped>
  .navbar{
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 50px;
    line-height: 50px;
    text-align: center;
    font-size: 19px;
    letter-spacing: 2px;
    color: white;
    z-index: 99;
    box-shadow: 0 1px 2px 2px rgba(100,100,100,.1);
    background: hotpink;
  }
  .center{
    flex: 1;
  }
  .left,.right{
    width: 60px;
  }
</style>
